#!/bin/sh -e
###
 # @Filename: start.sh
 # @Author: libo
 # @LastEditTime: 2024-05-29
 # @Descripttion: 在sidecar容器中将应用程序解压到web容器中.
###

WORK_HOME=/app/work
pwd && ls
if [ ! ${APPS_HOME} ];then
    APPS_HOME="/app/apps"
fi

# tar -zxvf ${WORK_HOME}/*.tar.gz -C ${APPS_HOME}
cp -vr ${WORK_HOME}/* ${APPS_HOME}

echo "done."

